//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Luke Bryan, Mae Estes & Cole Goodwin','Hersheypark Stadium','Hershey, PA','Saturday','7/12/2025','7:00 PM','6955327','Luke-Bryan--Mae-Estes---Cole-Goodwin-7-12-2025'],['Phil Wickham & Brandon Lake','Hersheypark Stadium','Hershey, PA','Friday','7/18/2025','7:00 PM','7024948','Phil-Wickham---Brandon-Lake-7-18-2025'],['Pantera','Hersheypark Stadium','Hershey, PA','Friday','7/25/2025','7:00 PM','7006144','Pantera-7-25-2025'],['Shania Twain','Hersheypark Stadium','Hershey, PA','Saturday','7/26/2025','7:30 PM','6884832','Shania-Twain-7-26-2025'],['Big Time Rush & Katelyn Tarver','Hersheypark Stadium','Hershey, PA','Friday','8/1/2025','7:00 PM','7001175','Big-Time-Rush---Katelyn-Tarver-8-1-2025'],['Breezy Bowl XX: Chris Brown, Summer Walker & Bryson Tiller','Hersheypark Stadium','Hershey, PA','Tuesday','8/5/2025','7:00 PM','7064066','Breezy-Bowl-XX--Chris-Brown--Summer-Walker---Bryson-Tiller-8-5-2025'],['Outlaw Music Festival: Willie Nelson, Bob Dylan, Turnpike Troubadours & The Red Clay Strays','Hersheypark Stadium','Hershey, PA','Saturday','8/9/2025','3:45 PM','6968012','Outlaw-Music-Festival--Willie-Nelson--Bob-Dylan--Turnpike-Troubadours---The-Red-Clay-Strays-8-9-2025'],['Jonas Brothers','Hersheypark Stadium','Hershey, PA','Sunday','8/17/2025','7:30 PM','7056775','Jonas-Brothers-8-17-2025'],['Hardy','Hersheypark Stadium','Hershey, PA','Saturday','9/6/2025','6:30 PM','6980554','Hardy-9-6-2025'],['Falling In Reverse','Hersheypark Stadium','Hershey, PA','Sunday','9/7/2025','6:30 PM','7168484','Falling-In-Reverse-9-7-2025'],['Hozier','Hersheypark Stadium','Hershey, PA','Friday','9/19/2025','8:00 PM','6963238','Hozier-9-19-2025'],['Slayer','Hersheypark Stadium','Hershey, PA','Saturday','9/20/2025','4:00 PM','7081171','Slayer-9-20-2025'],['Twenty One Pilots','Hersheypark Stadium','Hershey, PA','Saturday','9/27/2025','8:00 PM','7211921','Twenty-One-Pilots-9-27-2025']],'Hersheypark Stadium','http://www.ticketnetwork.com/ticket/Hersheypark-Stadium-events.aspx');